home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / comm / www / ALynx.lha / ALynx / orig / INSTALLATION < prev    next >
Text File  |  1995-06-09  |  14KB  |  312 lines

  1. For a description of Lynx please read the README file.
  2.  
  3.         Lynx Installation guide.
  4.  
  5.         Last Updated June 1995
  6.  
  7. UNIX & VMS Step 1a. 
  8.     Most of the variables that you are likely to change are in the
  9.     userdefs.h file.  There are a few that you must change or verify,
  10.     and a few more that you will probably want to change.  The variables
  11.     that must be changed are marked as such in the userdefs.h file.
  12.     Just edit it and the changes should be straight forward.  
  13.  
  14.     NOTE: Many of the variables in userdefs.h are now configurable in
  15.       the lynx.cfg file.  Please read the lynx.cfg file as well.
  16.       Also see the example mime.types, mailcap and jumps files
  17.       in the samples subdirectory.
  18.  
  19. UNIX & VMS Step 1b. (optional)
  20.     Set up local printers and downloaders
  21.     in the lynx.cfg file.  (see lynx.cfg for details)
  22.  
  23. UNIX & VMS Step 1c. (optional)
  24.       If you would like to enable PASV FTP code then
  25.       edit WWW/Library/Implementation/HTFTP.c and
  26.       comment out line 43 like so:
  27.       /*  #define LISTEN   /* @@@@ Test LJM */
  28.  
  29. UNIX Step 1d.  (WAIS support is built into Lynx for VMS, skip to step 1e)
  30.     Adding Direct WAIS support.
  31.     Get the freeWAIS distribution from sunsite.unc.edu, or ftp2.cc.ukans.edu
  32.     and compile it.  The compile process will create some libraries, you will 
  33.     need wais.a and client.a.  Edit the Makefile in the top level  directory 
  34.     and add the library locations under the DIRECT WAIS ACCESS heading.  
  35.     Edit the Makefile for the WWW Library in the
  36.     WWW/Library/Implementation/CommonMakefile to make the WAIS.c sources
  37.     in the library.  If everything goes well you should
  38.     be able to make and have direct WAIS access.
  39.  
  40. UNIX Step 1e.
  41.     Adding NEWS support.
  42.     To enable news reading ability via Lynx, set the environment variable
  43.     NNTPSERVER so that it points to your site's NNTP server (see Step 5).
  44.  
  45.     To enable news posting ability from Lynx, in userdefs.h (and optionally
  46.     in lynx.cfg) define INEWS to the full path and name of the inews program.
  47.     A "mini" inews has been included in the utils directory.  Note that INN
  48.     may require the -h switch following the path.
  49.  
  50. VMS Step 1e.
  51.     Adding NEWS support.
  52.     To enable news reading ability via Lynx, set the environment variable
  53.     NNTPSERVER so that it points to your site's NNTP server (see Step 5).
  54.  
  55.     To enable news posting ability from Lynx, in userdefs.h (and optionally
  56.     in lynx.cfg) define INEWS to the foreign command for invoking news via
  57.     your ANU-NEWS client (presumably, "NEWS").  The ANU-NEWS software is
  58.     available from ftp.cc.ukans.edu.
  59.  
  60. VMS Step 1f.
  61.     Downloading binary files.
  62.     Lynx must handle all IO as streams, and on VMS, output files are always
  63.     created with Stream_LF format via the C RTL's fopen().  The file headers
  64.     indicate Implied Carriage Control, even when the transfer was in binary
  65.     mode, which can confuse downloading software and cause corruption of
  66.     the file contents.  To deal with this, you should define the symbols
  67.     USE_FIXED_RECORDS as TRUE in userdefs.h and/or lynx.cfg.  This will
  68.     cause FIXED512.COM to be invoked automatically to correct the header
  69.     information.  The command file uses Joe Meadow's FILE utility, or
  70.     the SET FILE/ATTRIBUTES command on current versions of VMS, to modify
  71.     the headers.  See FIXED512.COM and the comments in userdefs.h and
  72.     lynx.cfg for more information.
  73.  
  74. UNIX Step 2.
  75.     VMS users skip to 'VMS step 2'
  76.  
  77.     Check the top level Makefile for any site-specific definitions
  78.     you require or desire. Then, you should be ready to compile!
  79.  
  80.     If you type "make" with no arguments you will see a list of 
  81.     supported systems.  If your system type IS listed you just
  82.     need to type "make SYSTEM_TYPE".  For instance, if you are
  83.     running under IBM's RS/6000 AIX 3.2 you would just type
  84.     "make aix32".  If you were running Ultrix you would type
  85.     "make ultrix".
  86.  
  87.     If you are on a SUN workstation and do not have 'gcc' you 
  88.     may change 'gcc' to '/usr/5bin/cc' in the Makefile
  89.  
  90.     If you are on a system that is not listed in the makefile it may be
  91.     more difficult. The first thing you should try is just "make generic",
  92.     this will compile with the "fancy_curses" option, and will give a much
  93.     nicer screen display.  If it doesn't compile or if the screen display
  94.     looks strange (real strange), try compiling with the "low_curses" option.
  95.     Edit the Makefile and remove the '-DFANCY_CURSES' definition under the
  96.     'generic:' entry.  There may be some compatibility problems on some
  97.     systems, but we don't know what they might be at this point.  If you
  98.     are running on a currently unsupported system please contact us at
  99.     "lynx-help@ukanaix.cc.ukans.edu" or subscribe and post your question
  100.     to the lynx-dev email list (see RELEASE_NOTES).  If there are any
  101.     problems we will try to fix them as soon as possible.  
  102.  
  103. VMS step 2.
  104.     A "build.com" script for building Lynx is in the top level directory.
  105.     All you have to do is type "@build" and answer one question about your
  106.     system's TCPIP software.  Current choices are:
  107.            MULTINET (default)
  108.        UCX
  109.        WIN_TCP
  110.            CMU_TCP
  111.        SOCKETSHR_TCP
  112.        TCPWARE
  113.     It will autosense whether you have VAXC/VAX, DECC/VAX or DECC/AXP
  114.     and build appropriately.  However, it will not rebuild the WWWLib
  115.     if one already exists for that TCPIP software.  If you do need to
  116.     rebuild the WWWLib, you should type "@libmake.com" with your default
  117.     directory set to [.WWW.Library.vms] before you execute "build.com"
  118.     in the top directory.
  119.  
  120.     (optional compilation method)
  121.     If you have and want to use MMS, read the header of descrip.mms
  122.     in the top directory and be sure you include the appropriate macro
  123.     definitions when you invoke it:
  124.     $ MMS /Macro = (MULTINET=1)        for VAXC - MultiNet
  125.     $ MMS /Macro = (WIN_TCP=1)        for VAXC - Wollongong TCP/IP
  126.     $ MMS /Macro = (UCX=1)            for VAXC - UCX
  127.     $ MMS /Macro = (CMU_TCP=1)        for VAXC - OpenCMU TCP/IP
  128.     $ MMS /Macro = (SOCKETSHR_TCP=1)    for VAXC - SOCKETSHR/NETLIB
  129.     $ MMS /Macro = (TCPWARE=1)        for VAXC - TCPWare TCP/IP
  130.  
  131.     $ MMS /Macro = (MULTINET=1, DEC_C=1)    for DECC - MultiNet
  132.     $ MMS /Macro = (WIN_TCP=1, DEC_C=1)    for DECC - Wollongong TCP/IP
  133.     $ MMS /Macro = (UCX=1, DEC_C=1)        for DECC - UCX
  134.     $ MMS /Macro = (CMU_TCP=1, DEC_C=1)    for DECC - OpenCMU TCP/IP
  135.     $ MMS /Macro = (SOCKETSHR_TCP=1,DEC_C=1) for DECC - SOCKETSHR/NETLIB
  136.     $ MMS /Macro = (TCPWARE=1, DEC_C=1)    for DECC - TCPWare TCP/IP
  137.  
  138.  
  139.         If you just type "MMS" it will default to the MULTINET and VAXC
  140.     configuration.  MMS will build the WWW library and Lynx sources,
  141.     and link the exectable.
  142.  
  143.     If you want SOCKS support on VMS, you must add SOCKS as a compilation
  144.     definition, and the SOCKS library to the link command.  However, instead
  145.     of SOCKSifying Lynx for use behind a firewall, you are better off if you
  146.     build Lynx normally, and set up Lynx to use a proxy server (see below).
  147.     You instead can SOCKSify the proxy server, and it will handle all clients,
  148.     not just Lynx.
  149.  
  150.  
  151. UNIX Step 3.
  152.     Go ahead and test it out with the samples/readme.html file.
  153.     You shouldn't need to install Lynx to test it.
  154.     Once you are satisfied that it works, go ahead and install it.
  155.  
  156.     VERY IMPORTANT!!!!!
  157.         If you are setting up an anonymous account with Lynx you
  158.         are strongly advised to use the -anonymous command line
  159.         option.  If you do not use this option, users may be able
  160.         to gain access to all readable files on your machine.
  161.  
  162. VMS Step 3. 
  163.     Go ahead and test it out with the [.samples]readme.html file.
  164.     You shouldn't need to install Lynx to test it.
  165.     Once you are satified that it works, go ahead and install it.
  166.  
  167.     VERY IMPORTANT!!!!!
  168.         If you are setting up an anonymous account with Lynx you
  169.         are strongly advised to use the -anonymous command line
  170.         option.  If you do not use this option, users will be able
  171.         to gain access to all readable files on your machine.
  172.  
  173.  
  174. UNIX Step 4. (Installation)
  175.     Lynx is very easy to install, if you want Lynx installed anywhere 
  176.     besides "/usr/local/bin", with the man files in "/usr/man/man1", you 
  177.     need to edit the Makefile and change the "exec" and "doc" defines.
  178.     Otherwise just "su" to root and type "make install" and make will
  179.     copy "lynx", "lynx.cfg" and  "lynx.1" to the specified directories.  
  180.     Those are the only two files necessary to run Lynx.  
  181.     lynx.1 isn't really necessary, but it should be available.
  182.     lynx.cfg isn't absolutely necessary either but is the only way
  183.     to configure printers and downloaders (and uploaders if DIRED_SUPPORT
  184.     is implemented), so it is highly recommended.
  185.     Also check out the mailcaps, mime.types and jumps file samples in the
  186.     samples directory.
  187.  
  188. VMS Step 4.
  189.     You need to have the executable in a public place, make it accessible,
  190.     define it as a foreign command, and copy lynx.cfg to "Lynx_Dir".  Look
  191.     at lynx.com in the samples directory as a model for installing Lynx.
  192.     Also check out the mailcaps, mime.types and jumps file samples in the
  193.     samples directory.  To include lynx.hlp in the system HELP library,
  194.     use the command:
  195.  
  196.             $ library/replace sys$help:helplib.hlb lynx.hlp
  197.  
  198.  
  199. UNIX and VMS Step 5.
  200.     Lynx uses some environment variables to regulate it's behavior.
  201.     
  202.     The variable "NNTPSERVER" is used to specify the host which will
  203.     be used for news URLs.
  204.     
  205.     UNIX
  206.         setenv NNTPSERVER "news.server.dom"
  207.     
  208.     VMS
  209.         define/system NNTPSERVER "news.server.dom"
  210.  
  211.  
  212.     The environment variable "LYNX_CFG", if set, will override the default
  213.     location and name of the global configuration file (lynx.cfg) that was
  214.     defined via the constant "LYNX_CFG_FILE" in userdefs.h.  See userdefs.h
  215.     for more information.
  216.  
  217.  
  218.     The variable "WWW_HOME", if set, will override the default startup
  219.     URL specified in any of the configuration files.
  220.  
  221.  
  222.     Lynx still supports use of gateway servers, with the servers specified
  223.     via the variables "WWW_access_GATEWAY", where "access" is lower case
  224.     and can be "http", "ftp", "gopher" or "wais".  Most of the gateway
  225.     servers have been discontinued, but "http://www.w3.org:8001" is
  226.     available for wais searches (note that you do not include a terminal
  227.     '/' for gateways, but do for proxies; see below).
  228.  
  229.  
  230.     Lynx version 2.2 and beyond supports the use of proxy servers that can
  231.     act as firewall gateways and caching servers.  They are preferable to
  232.     the older gateway servers.  Each protocol used by Lynx can be mapped
  233.     separately using PROTOCOL_proxy environment variables of the form:
  234.     
  235.         UNIX
  236.                 setenv http_proxy "http://some.server.dom:port/"
  237.                 setenv ftp_proxy "http://some.server.dom:port/"
  238.                 setenv gopher_proxy "http://some.server.dom:port/"
  239.                 setenv news_proxy "http://some.server.dom:port/"
  240.                 setenv wais_proxy "http://some.server.dom:port/"
  241.                 
  242.         VMS
  243.                 define "http_proxy" "http://some.server.dom:port/"
  244.                 define "ftp_proxy" "http://some.server.dom:port/"
  245.                 define "gopher_proxy" "http://some.server.dom:port/"
  246.                 define "news_proxy" "http://some.server.dom:port/"
  247.                 define "wais_proxy" "http://some.server.dom:port/"
  248.                 (Encase *BOTH* strings in double-quotes to maintain
  249.          lower case for the PROTOCOL_proxy variable and for
  250.          the http access type; include /system if you want
  251.          proxying for all clients on your system.)
  252.  
  253.      If you wish to override the use of a proxy server for specific hosts or
  254.      entire domains you may use the "no_proxy" environment variable. Here is
  255.      an example use of "no_proxy":
  256.           
  257.         UNIX
  258.                 setenv no_proxy "host.domain.dom, domain1.dom, domain2"
  259.                 
  260.         VMS
  261.                 define "no_proxy" "host.domain.dom, domain1.dom, domain2"
  262.  
  263.     You can include a port number in the no_proxy list to override use
  264.     of a proxy server for the host accessed via that port, but not via
  265.     other ports.  For example, if you use "host.domain.dom:119" and/or
  266.     "host.domain.dom:210", then news (port 119) URLs and/or any wais
  267.     (port 210) searches on that host would be excluded, but http, ftp,
  268.     and gopher services (if normally proxied) would still be included,
  269.     as would any news or wais services on other hosts.
  270.  
  271.     Note that Lynx treats file URLs on the local host as requests for
  272.     direct access to the file, and does not attempt ftp if that fails.
  273.     It treats both ftp URLs and file URLs on remote hosts as ftp URLs,
  274.     and does not attempt direct file access for either.  If ftp URLs are
  275.     being proxied, file URLs on a remote host will be converted to ftp
  276.     URLs before submission by Lynx to the proxy server, so no special
  277.     procedure for inducing the proxy server to handle them is required.
  278.     Other WWW clients may require that the http server's configuration
  279.     file have "Map file:* ftp:*" in it to perform that conversion.
  280.  
  281.     The proxy and no_proxy variables also can be set at run time via
  282.     lynx.cfg.
  283.  
  284.     Copies of the Lynx online help can be obtained for local installation
  285.     from ftp2.cc.ukans.edu as ZIPped or Compressed Tar archives.
  286.  
  287.  
  288. UNIX & VMS Step 6. (Hopefully Optional)
  289.     If something doesn't work, or you can't get it to compile at all, or
  290.     you can't figure out what one of the defines means, or if you just
  291.     want to make a comment, send a message to the Support Staff by email,
  292.     or call on the phone.  Until Lynx has been ported to all the world's
  293.     operating systems, we expect there will be some compatibility problems,
  294.     but we'll do our best to help you.
  295.  
  296.  
  297. Newbee questions and help should be address to:
  298.     Lynx Support Staff        lynx-help@ukanaix.cc.ukans.edu
  299.     Computing Services        
  300.     University of Kansas
  301.     Lawrence, KS 66045        (913) 864-0436
  302.  
  303.  
  304. Advanced questions and discussions about Lynx should be via the lynx-dev
  305.     email list (see RELEASE_NOTES).  A link for sending a subscription
  306.     request to the listerver (listserv@ukanaix.cc.ukans.edu) is in the
  307.     NEW_INSTALLS.html file in the samples directory.  If you subsequently
  308.     wish to unsubscribe from lynx-dev, you can send the unsubscribe
  309.     request to the listserver via that same link.  DO NOT SEND subscribe
  310.     OR unsubscribe REQUESTS TO THE lynx-dev LIST ITSELF!!!!!!
  311.  
  312.